package cn.itsuorce.mapper;

import cn.itsuorce.domain.Department;
import cn.itsuorce.query.DepartmentQuery;
import org.apache.ibatis.annotations.Param;


public interface DepartmentMapper extends BaseMapper<Department,DepartmentQuery>{

    /**
     * 查询部门唯一
     * @param sn
     * @param id
     * @return
     */
    Department findBySn(@Param("sn") String sn, @Param("id")String id);

}
